package stylistcrm.core.query;

import java.util.List;

/**
 * Created by yanwc on 2016/8/11.
 * 查询返回分页结果
 */
public class ResultPagerModel<TModel> {
    private int pageSizes;
    private int pageSize;
    private int currentPage;
    private int totalServerItems;
    private List<TModel> data;

    public int getPageSizes() {
        return pageSizes;
    }

    public void setPageSizes(int pageSizes) {
        this.pageSizes = pageSizes;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(int currentPage) {
        this.currentPage = currentPage;
    }

    public int getTotalServerItems() {
        return totalServerItems;
    }

    public void setTotalServerItems(int totalServerItems) {
        this.totalServerItems = totalServerItems;
    }

    public List<TModel> getData() {
        return data;
    }

    public void setData(List<TModel> data) {
        this.data = data;
    }
}
